﻿using LianXi1013.Entity;
using LianXi1013.Entity.UserRoute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LianXi1013.Repostory.UserRoute
{
    public class UserRouteInforRepostory : IUserRouteInforRepostory
    {
        private readonly ProjectDbContext projectDbContext;

        public UserRouteInforRepostory(ProjectDbContext projectDbContext)
        {
            this.projectDbContext = projectDbContext;
        }

        /// <summary>
        /// 查询角色
        /// </summary>
        /// <returns></returns>
        public IQueryable<UserRouteInfor> GetUserRoute()
        {
            var list = projectDbContext.UserRouteInfor.AsQueryable();
            return list;
        }
    }
}
